package com.ruoyi.service.impl;

import com.ruoyi.domain.CourseVideo;
import com.ruoyi.mapper.CourseVideoMapper;
import com.ruoyi.service.CourseVideoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

// 实现类 CourseVideoServiceImpl.java
@Service
public class CourseVideoServiceImpl implements CourseVideoService {

    @Autowired
    private CourseVideoMapper courseVideoMapper;

    @Override
    public int insertCourseVideo(CourseVideo courseVideo) {
        return courseVideoMapper.insertCourseVideo(courseVideo);
    }
}
